import React, { Component } from 'react';
import {
  Router,
  Route
} from 'react-router-dom'
import App from '../App'
import NewSong from '../view/newSong/index'
import history from '../history'
class ROUTER extends Component{
  render() {
    return (
      <div className="router">
        <Router history={history}>
          <App>
            <Route exact path='/' component={NewSong}/>
          </App>
        </Router>
      </div>
    )
  }
}

export default ROUTER